package com.xy.repository;

import com.xy.entity.product.Picture;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface PictureRespository extends JpaRepository<Picture, String> {


    //首页图片
    List<Picture> findAllBySort(String sort);

    List<Picture> findByRemark(String remark);
}